package com.rawchen.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rawchen.entity.ExceptionLog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 异常日志持久层接口
 */
@Mapper
@Repository
public interface ExceptionLogMapper extends BaseMapper<ExceptionLog> {
	/**
	 * 查询指定时间段的异常日志
	 *
	 * @param startDate 起始时间段
	 * @param endDate   结束时间段
	 */
	List<ExceptionLog> getExceptionLogListByDate(String startDate, String endDate);
}
